void drawMainMenu(int selected) {
    system("cls");
    setColor(11);

    // 绘制标题艺术字
    cout << "  ████████  █████  ███    ██  ██████  ███████ ██   ██ \n";
    cout << "     ██    ██   ██ ████   ██ ██      ██      ██  ██  \n";
    cout << "     ██    ███████ ██ ██  ██ ██      █████   █████   \n";
    cout << "     ██    ██   ██ ██  ██ ██ ██      ██      ██  ██  \n";
    cout << "     ██    ██   ██ ██   ████  ██████ ███████ ██   ██ \n\n";

    // 绘制选项框
    auto drawOption = [](int color, string text, bool isSelected) {
        setColor(color);
        cout << (isSelected ? "  ? " : "    ") << text << endl;
        };

    setColor(11);
    cout << "╔══════════════════════════════════════════════╗\n";
    drawOption(selected == 0 ? 10 : 7, "1. 开始游戏", selected == 0);
    drawOption(selected == 1 ? 10 : 7, "2. 游戏规则", selected == 1);
    drawOption(selected == 2 ? 10 : 7, "3. 退出游戏", selected == 2);
    cout << "╚══════════════════════════════════════════════╝\n";

    setColor(8);
    cout << "\n 使用 ↑ ↓ 键选择，ENTER 键确认\n";
}